package com.zxy.ziems.server.constant.enums;

/**
 * 计算方式
 */
public enum CalculateTypeEnum {

    MEASURE(1, "实时值"),
    INCREMENT(2, "增量值"),
    MEASURE_INCREMENT(3, "实时增量值");

    private final Integer code;
    private final String value;

    private CalculateTypeEnum(final Integer code, final String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
